Pronamic\WordPress\Pay\Gateways\Mollie\Gateway D

Total Complexity 243
Dependencies 44
Dependents 2
Total lines 1,928
Lines of code 1,078
Logical lines of code 690
Comment lines 436
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
update_payment_from_mollie_payment()
D
15
70 248
get_payment_request()
C
32 24 108
maybe_enrich_payment_methods()
B
40 19 57
create_customer_for_payment()
A
44 13 42
update_subscription_mandate()
A
45 12 40
has_valid_mandate()
A
48 12 32
create_refund()
A
42 9 56
get_order_request()
A
43 8 47
get_webhook_url()
A
46 8 40
copy_customer_id_to_wp_user()
A
48 8 34
maybe_create_shipment_for_payment()
A
46 7 40
start_payment()
S
46 6 39
process_direct_debit_mandate_from_bank_details()
S
48 6 36
__construct()
S
37 1 85
get_customer_ids_for_payment()
S
56 5 19
get_first_existing_customer_id()
S
57 5 18
get_retry_seconds()
S
61 5 13
update_payment_from_mollie_order()
S
59 4 14
get_resource_for_payment()
S
52 3 28
start()
S
58 3 18
start_order()
S
60 3 13
get_profile_id()
S
63 2 11
update_status()
S
67 2 8
get_customer_id_for_subscription()
S
69 2 7
get_payment_methods()
S
69 2 7
get_mode()
S
79 2 3
get_customer_ids_for_user()
S
64 1 10
get_customer_id_for_payment()
S
73 1 5